<!-- layout advertiser -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
        <title>Contextca</title>
        <?php $this->headLink()->prependStylesheet('/css/main.css'); ?>
        <?php $this->headScript()->appendFile('http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js'); ?>
        <?php $this->headScript()->appendFile('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/spinner/ui.spinner.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/spinner/jquery.mousewheel.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/charts/excanvas.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/charts/jquery.flot.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/charts/jquery.flot.orderBars.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/charts/jquery.flot.pie.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/charts/jquery.flot.resize.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/charts/jquery.sparkline.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/uniform.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/jquery.cleditor.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/jquery.validationEngine-en.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/jquery.validationEngine.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/jquery.tagsinput.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/autogrowtextarea.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/jquery.maskedinput.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/jquery.dualListBox.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/jquery.inputlimiter.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/forms/chosen.jquery.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/wizard/jquery.form.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/wizard/jquery.validate.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/wizard/jquery.form.wizard.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/uploader/plupload.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/uploader/plupload.html5.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/uploader/plupload.html4.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/uploader/jquery.plupload.queue.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/tables/datatable.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/tables/tablesort.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/tables/resizable.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.tipsy.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.collapsible.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.prettyPhoto.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.progress.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.timeentry.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.colorpicker.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.jgrowl.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.breadcrumbs.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/ui/jquery.sourcerer.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/calendar.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/plugins/elfinder.min.js'); ?>
        <?php $this->headScript()->appendFile('/js/custom.js'); ?>
        <?php $this->headScript()->appendFile('/js/charts/chart.js'); ?>
        <?php echo $this->headLink(); ?>
        <?php echo $this->headScript(); ?>

    </head>
    <body>
        <!-- Left side content -->
<div id="leftSide">
    <div class="logo">
        <?php echo '<a href="'.$this->url(array(
            'module'     => 'adv',
            'controller' => 'advertiser',
            'action'     => 'index'
        )).'"><img src="/images/logo.png" alt="" /></a>' ?>
    </div>    
    
    <div class="sidebarSep mt0"></div>
    
    <!-- General balance widget -->
    <div class="genBalance">
        <a href="#" title="" class="amount">
            <span>General balance:</span>
            <span class="balanceAmount">$10,900.36</span>
        </a>
        <a href="#" title="" class="amChanges">
            <strong class="sPositive">+0.6%</strong>
        </a>
    </div>
    
	<div class="sidebarSep"></div>
		
    <!-- Left navigation -->
    <ul id="menu" class="nav">
        <li class="dash">
            <?php
            echo '<a href="'.$this->url(array(
                'module'     => 'adv',
                'controller' => 'advertiser',
                'action'     => 'index'
            )).'"><span>Главная</span></a>';
            ?>
        </li>
	<li class="typo">
            <?php
            echo '<a href="'.$this->url(array(
                'module'     => 'adv',
                'controller' => 'campaigns',
                'action'     => 'newcampaignfirst'
            )).'"><span>Новая кампания</span></a>';
            ?>
        </li>
        <li class="typo">
            <?php
            echo '<a href="'.$this->url(array(
                'module'     => 'adv',
                'controller' => 'campaigns',
                'action'     => 'campaigns'
            )).'"><span>Кампании</span></a>';
            ?>
        </li>
		
                <li class="charts"> <a href="#" title="" class="exp"><span>Ключевые слова и БИДы</span><strong>2</strong></a>
                <ul class="sub">
                    <li><?php echo '<a href="'.$this->url(array(
                                                'module'     => 'adv',
                                                'controller' => 'advertiser',
                                                'action'     => 'keywords'
                                      )).'">'.$this->translate('Ключевые слова').'</a>';?>
                    </li>
                    
                    <li><?php echo '<a href="'.$this->url(array(
                                                'module'     => 'adv',
                                                'controller' => 'advertiser',
                                                'action'     => 'bid'
                                      )).'">'.$this->translate('БИДы').'</a>';?>
                    </li>
                </ul>
		</li>
                
        <li class="files">
            <?php
                    echo '<a href="'.$this->url(array(
                        'module'     => 'adv',
                        'controller' => 'statistic',
                        'action'     => 'account'
                    )).'"><span>Счет</span></a>';
            ?>
        </li>
		<li class="charts">
                    <?php
                    echo '<a href="'.$this->url(array(
                        'module'     => 'adv',
                        'controller' => 'statistic',
                        'action'     => 'index'
                    )).'"><span>Статистика</span></a>';
                    ?>
                </li>
		<li class="charts"><a href="#" title="" class="exp"><span>Услуги и цены</span></a></li>
		<li class="ui"><?php
                    echo '<a href="'.$this->url(array(
                        'module'     => 'adv',
                        'controller' => 'advertiser',
                        'action'     => 'profile'
                    )).'"><span>Профиль</span></a>';
                    ?></li>
		<li class="typo"><a href="#" title="" class="exp"><span>Связь</span></a></li>
    </ul>
</div>


<!-- Right side -->
<div id="rightSide">

    <!-- Top fixed navigation -->
    <div class="topNav">
        <div class="wrapper">
            <div class="welcome"><a href="#" title=""><img src="/images/userPic.png" alt="" /></a><span><?php echo 'Hello, '.Zend_Auth::getInstance()->getIdentity()->login; ?></span></div>
            <div class="userNav">
                <ul>
                    <li><a href="#" title=""><img src="/images/icons/topnav/profile.png" alt="" /><span>Profile</span></a></li>
                    <li><a href="#" title=""><img src="/images/icons/topnav/tasks.png" alt="" /><span>Tasks</span></a></li>
                    <li class="dd"><a title=""><img src="/images/icons/topnav/messages.png" alt="" /><span>Messages</span><span class="numberTop">8</span></a>
                        <ul class="userDropdown">
                            <li><a href="#" title="" class="sAdd">new message</a></li>
                            <li><a href="#" title="" class="sInbox">inbox</a></li>
                            <li><a href="#" title="" class="sOutbox">outbox</a></li>
                            <li><a href="#" title="" class="sTrash">trash</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title=""><img src="/images/icons/topnav/settings.png" alt="" /><span>Settings</span></a></li>
                    <li><img src="/images/icons/topnav/logout.png" alt="" />
                        <?php echo '<span><a href="'.$this->url(array(
                                                'module'     => '',
                                                'controller' => 'authorization',
                                                'action'     => 'logout'
                                             )).'">Выход</a></span>';?>                        
                    </li>
                </ul>
            </div>
            <div class="clear"></div>
        </div>
    </div>
        
    <!-- Title area -->
    <div class="titleArea">
        <div class="wrapper">
            <div class="pageTitle">
                <h5>Добро пожаловать <?php echo Zend_Auth::getInstance()->getIdentity()->login; ?>.</h5>
                <span>Это ваш дашборд.</span>
            </div>
            <div class="middleNav">
                <ul>
                    <li class="mUser"><a title=""><span class="users"></span></a>
                        <ul class="mSub1">
                            <li><a href="#" title="">Add user</a></li>
                            <li><a href="#" title="">Statistics</a></li>
                            <li><a href="#" title="">Orders</a></li>
                        </ul>
                    </li>
                    <li class="mMessages"><a title=""><span class="messages"></span></a>
                        <ul class="mSub2">
                            <li><a href="#" title="">New tickets<span class="numberRight">8</span></a></li>
                            <li><a href="#" title="">Pending tickets<span class="numberRight">12</span></a></li>
                            <li><a href="#" title="">Closed tickets</a></li>
                        </ul>
                    </li>
                    <li class="mFiles"><a href="#" title="Or you can use a tooltip" class="tipN"><span class="files"></span></a></li>
                    <li class="mOrders"><a title=""><span class="orders"></span><span class="numberMiddle">8</span></a>
                        <ul class="mSub4">
                            <li><a href="#" title="">Pending uploads</a></li>
                            <li><a href="#" title="">Statistics</a></li>
                            <li><a href="#" title="">Trash</a></li>
                        </ul>
                    </li>
                </ul>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="line"></div>

<?php echo $this->layout()->content; ?>

            <!-- Footer line -->
            <div id="footer">
                <div class="wrapper">As usually all rights reserved. Contextca</a></div>
            </div>

        </div>

        <div class="clear"></div>
    </body>

</html>


</body>